export default function () {
  const router = useRouter()
  const refreshOper = () => router.replace('/refresh')
  const jumpHomeOper = () => router.push('/')
  return {
    refreshOper,
    jumpHomeOper
  }
}
